#pragma once
#ifndef __UTILS_H__
#define __UTILS_H__

#include "cocos2d.h"
#include "cocos-ext.h"
USING_NS_CC_EXT;
USING_NS_CC;
class Cfg :
	public CCObject
{
public:
	Cfg(void);
	~Cfg(void);

	bool isMusic;
	int playCount;
	int maxScore;
	static Cfg* shareCfg();
};

class UFO : public CCSprite
{
public:
	UFO();
	~UFO();

	virtual bool init();
	CREATE_FUNC(UFO);
private:

};

class UFOPool : public CCObject
{
public:
	UFOPool();
	~UFOPool();

	static UFOPool* sharePool();
	void recycleUFO(UFO* node);
	UFO* getUFO();
	void clear();
private:
	CCArray* ufoList;
};


#endif //__UTILS_H__

